package com.ruoyi.develop.factory.factoryProductProcess.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 生产过程数据对象 factory_product_process
 *
 * @author lmm
 * @date 2024-11-06
 */
public class FactoryProductProcess extends BaseEntity {
private static final long serialVersionUID=1L;

    /** 主键 */
    private String id;

    /** 框架id */
    @Excel(name = "框架id")
    private String projectId;


    /** 框架编号 */
    @Excel(name = "框架编号")
    private String projectCode;

    /** 订单id */
    @Excel(name = "订单id")
    private String orderId;

    /** 订单id */
    @Excel(name = "订单编号")
    private String orderCode;

    /** 工单id */
    private String workOrderId;

    /** * 工单编号 */
    private String workOrderCode;

    /** * 到货明细id */
    private String daohuoDetailId;

    /** * 入库明细id */
    private String rukuId;

    /** * 生产明细id */
    private String produceRecordDetailId;

    /** * 订单产品id */
    @Excel(name = "订单产品id")
    private String goodsSaleId;

    /** 产品id */
    @Excel(name = "产品id")
    private String goodsId;


    /** 产品编号 */
    @Excel(name = "产品编号")
    private String goodsCode;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String goodsName;

    /** 产品型号 */
    @Excel(name = "产品型号")
    private String goodsModel;

    /** 生产批号 */
    @Excel(name = "生产批号")
    private Long batchNumber;

    /** 系统推送 */
    @Excel(name = "系统推送")
    private String processMethod;

    /** 加工件数 */
    @Excel(name = "加工件数")
    private String processCount;

    /** 生产完成时间 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @Excel(name = "生产完成时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date finishTime;

    /** 质检报告 */
    @Excel(name = "质检报告")
    private String reportFile;

    /** 到货明细id */
    private String fahuoDetailId;

    /** * 抽样ID */
    private String sampleId;

    /** * 是否合格   */
    private String  testPass;
    public String getTestPass() {
        return testPass;
    }
    public void setTestPass(String testPass) {
        this.testPass = testPass;
    }

    /** 删除标志 */
    private String delFlag;

    public String getFahuoDetailId() {
        return fahuoDetailId;
    }

    public void setFahuoDetailId(String fahuoDetailId) {
        this.fahuoDetailId = fahuoDetailId;
    }

    public void setId(String id)
            {
            this.id = id;
            }

    public String getId()
            {
            return id;
            }
    public void setProjectId(String projectId)
            {
            this.projectId = projectId;
            }

    public String getProjectId()
            {
            return projectId;
            }
    public void setOrderId(String orderId)
            {
            this.orderId = orderId;
            }

    public String getOrderId()
            {
            return orderId;
            }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public void setGoodsName(String goodsName)
            {
            this.goodsName = goodsName;
            }

    public String getGoodsName()
            {
            return goodsName;
            }
    public void setGoodsModel(String goodsModel)
            {
            this.goodsModel = goodsModel;
            }

    public String getGoodsModel()
            {
            return goodsModel;
            }
    public void setBatchNumber(Long batchNumber)
            {
            this.batchNumber = batchNumber;
            }

    public Long getBatchNumber()
            {
            return batchNumber;
            }
    public void setProcessMethod(String processMethod)
            {
            this.processMethod = processMethod;
            }

    public String getProcessMethod()
            {
            return processMethod;
            }
    public void setProcessCount(String processCount)
            {
            this.processCount = processCount;
            }

    public String getProcessCount()
            {
            return processCount;
            }
    public void setFinishTime(Date finishTime)
            {
            this.finishTime = finishTime;
            }

    public Date getFinishTime()
            {
            return finishTime;
            }
    public void setDelFlag(String delFlag)
            {
            this.delFlag = delFlag;
            }

    public String getDelFlag()
            {
            return delFlag;
            }

    public String getWorkOrderId() {
        return workOrderId;
    }

    public void setWorkOrderId(String workOrderId) {
        this.workOrderId = workOrderId;
    }

    public String getWorkOrderCode() {
        return workOrderCode;
    }

    public void setWorkOrderCode(String workOrderCode) {
        this.workOrderCode = workOrderCode;
    }

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public String getDaohuoDetailId() {
        return daohuoDetailId;
    }

    public void setDaohuoDetailId(String daohuoDetailId) {
        this.daohuoDetailId = daohuoDetailId;
    }

    public String getRukuId() {
        return rukuId;
    }

    public void setRukuId(String rukuId) {
        this.rukuId = rukuId;
    }

    public String getGoodsSaleId() {
        return goodsSaleId;
    }

    public void setGoodsSaleId(String goodsSaleId) {
        this.goodsSaleId = goodsSaleId;
    }

    public String getReportFile() {
        return reportFile;
    }

    public void setReportFile(String reportFile) {
        this.reportFile = reportFile;
    }

    public String getProduceRecordDetailId() {
        return produceRecordDetailId;
    }

    public void setProduceRecordDetailId(String produceRecordDetailId) {
        this.produceRecordDetailId = produceRecordDetailId;
    }

    public String getSampleId() {
        return sampleId;
    }

    public void setSampleId(String sampleId) {
        this.sampleId = sampleId;
    }

    @Override
    public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id",getId())
            .append("projectId",getProjectId())
            .append("orderId",getOrderId())
            .append("goodsId",getGoodsId())
            .append("goodsName",getGoodsName())
            .append("goodsModel",getGoodsModel())
            .append("batchNumber",getBatchNumber())
            .append("processMethod",getProcessMethod())
            .append("processCount",getProcessCount())
            .append("finishTime",getFinishTime())
            .append("createBy",getCreateBy())
            .append("createTime",getCreateTime())
            .append("updateBy",getUpdateBy())
            .append("updateTime",getUpdateTime())
            .append("delFlag",getDelFlag())
        .toString();
    }
}
